package wanmei;

/**
 * @author xizizzz
 * @description: TODO
 * @date 2021-9-7下午 08:09
 */
public class Test1 {
    public static void main(String[] args) {
        int[] dp = new int[12];
        dp[1] = 1;
        dp[2] = 2;
        dp[3] = 4;
        for (int i = 4; i <= 11; i++) {
            dp[i] = dp[i - 1] + dp[i - 2] + dp[i - 3];
        }
        System.out.println(dp[11]);
    }
}
